package com.firstgroup.dms.pojo;

import lombok.Data;
import java.util.Date;

@Data
public class DrugInformation {
    private Integer id;
    private Integer categoryId; // catelog_id
    private String drugName; // name
    private Integer supplierId; // supplier_id
    private String unit;
    private Date expiryDate; // expiry_date
    private String remark; // beizhu
    private Integer status;
    private String dizhi;
    private String lianxiren;
    private String dianhua;
    private String youbian;
    private String chuanzhen;
    private String youxiang;
    private Double price;
    private Integer stock; // 库存数量

    // 关联字段
    private String categoryName; // 从classification表关联
    private String supplierName; // 从supplier_information表关联的mingcheng

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }
}